package com.currency.task;

import com.currency.core.PrintQueue;

public class Job implements Runnable {
	private PrintQueue mPrinters;

	public Job(PrintQueue mPrinters) {
		super();
		this.mPrinters = mPrinters;
	}

	@Override
	public void run() {
		System.out.println(Thread.currentThread().getName()+"---------------task");
		mPrinters.printJob(new Object());
		System.out.println(Thread.currentThread().getName()+"---------------task");

	}

}
